<template>
  <div class="progress-page">
    <div class="top-info">
      您还有<span>{{taskNum}}</span>条任务未完成
    </div>
    <div class="task-box" v-for="item,index in 3" :key="index">
      <div class="title">任务一:</div>
      <div class="task-content">卡视角电话卡SDK拉屎的喀什大活动卡死了坎大哈蓝湖的</div>
      <div :class="['button',index==1?'button1':'']">{{index==1?'已完成':'去完成'}}</div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      taskNum: 0,
    }
  },
  created() {
  },
  methods: {

  }
}
</script>

<style lang="less" scoped>
.progress-page{
  padding: 12px;
  font-size: 14px;

  .top-info{
    color: #3D4147;
    font-weight: 600;

    span{
      color: #FFBE4C;
      margin: 0 5px;
    }
  }

  .task-box{
    padding: 12px;
    display: flex;
    justify-content: space-between;
    background-color: #F4F9FF;
    margin-top: 10px;

    .title{
      color: #8CBCF0;
      margin-right: 5px;
    }

    .task-content{
      flex: 1;
      color: #67686A;
    }

    .button{
      background-color: #FFA300;
      color: #fff;
      margin-left: 10px;
      padding: 5px 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: min-content;
    }

    .button1{
      background-color: #EFEFEF;
      color: #DADADA;
    }
  }
}
</style>